package com.lineage.server.model.skill.skillmode;

import com.lineage.config.ConfigElfSkill;
import com.lineage.server.model.Instance.L1NpcInstance;
import com.lineage.server.model.Instance.L1PcInstance;
import com.lineage.server.model.L1Character;
import com.lineage.server.model.L1Magic;

public class BLOODY_SOUL extends SkillMode {
  public int start(L1PcInstance srcpc, L1Character cha, L1Magic magic, int integer) throws Exception {
    int dmg = 0;
    int rr = 0;
    if (srcpc.getlogpcpower_SkillFor2() != 0 && srcpc.getlogpcpower_SkillFor2() > 0)
      rr += srcpc.getlogpcpower_SkillFor2() * 2; 
    srcpc.setCurrentMp(srcpc.getCurrentMp() + ConfigElfSkill.BLOODY_SOULADDMP + rr);
    return 0;
  }
  
  public int start(L1NpcInstance npc, L1Character cha, L1Magic magic, int integer) throws Exception {
    int dmg = 0;
    return 0;
  }
  
  public void start(L1PcInstance srcpc, Object obj) throws Exception {}
  
  public void stop(L1Character cha) throws Exception {}
}
